package com.axend.aerosense.common.bean;


import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.common.base.IEventBaseContent;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AlarmBean extends BaseBean implements IEventBaseContent {
    private String radarUuid;//设备id
    private int alertTypeId = 1;//类型id    如：0=离线 ，1=摔倒
    private String alertTypeName;//类型名称  如：离线，摔倒
    private String roomName;//名字名称
    private String radarName;//设备名称
    private String alarmTime;//报警时间
    private String localTime;//本地时间
    private boolean isFirstRecord = false;
    //日志uuid
    private String logUuid;
    //受监护人名字
    private String wardName;
    //受监护人电话
    private String wardPhone;
    //报警日志状态 0：未读  1：已读
    private int alertLogState;
    //日志提示
    private String alertTips;
    //日志时区
    private String alertTimeZone;

    @Override
    public String getEventTypeName() {
        return alertTypeName;
    }

    @Override
    public int getEventType() {
        return alertTypeId;
    }

    @Override
    public String getEventTime() {
        return alarmTime;
    }

    @Override
    public String getEventRoomName() {
        return roomName;
    }
}
